/**
 * 
 */
package com.google.code.cisx.wfe.events;

import java.util.EventListener;

/**
 * Extension to {@link EventListener} to listen to and specifically handle
 * {@link TypedEvent}s.
 * 
 * @author <a href='mailto:rahul.thakur.xdev@gmail.com'>Rahul Thakur</a>
 * @since 1.0
 * @version $Id: TypedEventListener.java 93 2008-01-05 00:04:13Z
 *          rahul.thakur.xdev $
 */
public interface TypedEventListener<T extends TypedEvent> extends EventListener {

    /**
     * Extensions handle event here.
     * 
     * @param event
     */
    public void onEvent(T event);
}
